package com.ymttest.business.service.shenqi.bean;

import com.ymttest.utils.EnvSetup;

public class ShenqiUserSet {

	// shenqiSettlement
	public static long autotest_goodsOwnerId = Long.valueOf(EnvSetup
			.getData("autotest_goodsOwnerId"));
	
	public static long japanGoodsOwnerId = 500058147L;
	public static long UKGoodsOwnerId = 500004269L;
	public static long shengPayGoodsOwnerId = 500381009L;
	public static long whitelistGoodsOwnerId = 500400836L;
	public static long shengPayWhitelistGoodsOwnerId = 500406006L;
	public static long dualPayModeGoodsOwnerId = 500583265L;
	public static long multiCurrencyGoodsOwnerId = 500899225L;
	public static long proxyFissionGoodsOwnerId = 501395811L;
	
	// distributor
	// 永久关系的商户Id
	public static Long permanentRelationMerchantId = 501565930L;
	// 临时关系的商户Id
	public static Long tempRelationMerchantId = 501565931L;
	// 过期时间的商户Id
	public static Long indateRelationMerchantId = 501565932L;
	
	// distributorAgency
	public static Long agencyMerchantId = 500865146L;
	public static Long agencyDistributorId = 249001275L;
	
	public static Long yabandGoodsOwnerId = 501720438L;
	
	// 连锁店商户
	public static Long chainStoreGoodsOwnerId = 501742451L;
	
	// 测试中免大会员项目用户和绑定的userid，使用中免大会员积分或优惠券业务，此商户已经开启一品多码
	public static Long cdfMembergoodsOwnerId = 502060981L;
	public static Long cdfMemberUserId = 26080783L;
	
	// 资金不归集用户
	public static Long fundNotCollectGoodsOwnerId = 502131251L;
	
	// 代币用户
	public static Long virtualCoinGoodsOwnerId = 502224178L;
	
	// 一品多码用户
	public static Long multiCDFCodeGoodsOwnerId = 502381949L;
	
	public static Long shenqiRiskControlGoodsOwnerId = 500041475L;
	
	// 中免澳门商户和绑定的userId，使用澳门大会员积分或优惠券业务
	public static Long macaoCDFGoodsOwnerId = 502665591L;
	public static Long macaoCDFUserId = 502603484L;
	
	// 平台供货商
	public static Long platformSupplierGoodsOwnerId = 502666058L;
	
	public static Long platformIndependentGoodsOwnerId = 510011847L;

	public static Long CHNGoodsOwnerId = 510022680L;

	//退款需要审核商户
	public static Long auditRefundGoodsOwnerId = 510022097L;
	
	public static Boolean isAutotestUser(long goodsOwnerId) {
		
		if (goodsOwnerId == autotest_goodsOwnerId
				|| goodsOwnerId == japanGoodsOwnerId
				|| goodsOwnerId == UKGoodsOwnerId
				|| goodsOwnerId == shengPayGoodsOwnerId
				|| goodsOwnerId == whitelistGoodsOwnerId
				|| goodsOwnerId == shengPayWhitelistGoodsOwnerId
				|| goodsOwnerId == dualPayModeGoodsOwnerId
				|| goodsOwnerId == proxyFissionGoodsOwnerId
				|| goodsOwnerId == permanentRelationMerchantId
				|| goodsOwnerId == tempRelationMerchantId
				|| goodsOwnerId == indateRelationMerchantId
				|| goodsOwnerId == agencyMerchantId
				|| goodsOwnerId == agencyDistributorId
				|| goodsOwnerId == yabandGoodsOwnerId
				|| goodsOwnerId == chainStoreGoodsOwnerId
				|| goodsOwnerId == cdfMembergoodsOwnerId
				|| goodsOwnerId == fundNotCollectGoodsOwnerId
				|| goodsOwnerId == virtualCoinGoodsOwnerId
				|| goodsOwnerId == multiCDFCodeGoodsOwnerId
				|| goodsOwnerId == shenqiRiskControlGoodsOwnerId
				|| goodsOwnerId == macaoCDFGoodsOwnerId
				|| goodsOwnerId == platformSupplierGoodsOwnerId
				|| goodsOwnerId == platformIndependentGoodsOwnerId
				|| goodsOwnerId == auditRefundGoodsOwnerId
				|| goodsOwnerId == CHNGoodsOwnerId)
			return true;
		else
			return false;
	}
}
